Piwik\Plugins\UserCountry\LocationProvider A

Total Complexity 66
Dependencies 11
Dependents 22
Total lines 453
Lines of code 195
Logical lines of code 122
Comment lines 131
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
prettyFormatLocation()
A
46 14 38
completeLocationResult()
A
51 11 28
getAllProviderInfo()
S
46 6 39
getAllProviders()
S
62 4 12
getProviderById()
S
66 4 8
getAvailableProviders()
S
66 3 9
getCurrentProviderId()
S
66 3 8
getIpFromInfo()
S
65 3 8
getLocationProviders()
S
67 2 8
setCurrentProvider()
S
63 2 10
getDefaultProviderId()
S
71 2 6
getLocation()
S
100 1 0
isAvailable()
S
100 1 0
isWorking()
S
100 1 0
getInfo()
S
100 1 0
getSupportedLocationInfo()
S
100 1 0
renderConfiguration()
S
82 1 3
renderSetUpGuide()
S
82 1 3
activate()
S
91 1 2
isVisible()
S
82 1 3
getUsageWarning()
S
82 1 3
getCurrentProvider()
S
79 1 3
getId()
S
76 1 4